package com.dalin.platform.loa.condition;

import com.dalin.common.pager.Condition;
/*****************************************************************************
 * @content: 类信息                                                                                                                                *
 * @author : 那建林                                                                                                                                 *
 * @crtDate: 2011-03-07 13:44:17                                            *
 * @modDate: 2011-03-07 13:44:17                                            *
 * @version: 1.00                                                           *
 ****************************************************************************/
public class LoaRoleOperateCondition extends Condition{
    private Long operateId; // OPERATE_ID,16,0,null
    private Long roleId; // ROLE_ID,16,0,null

    public LoaRoleOperateCondition prepareParams() {
        setBaseQueryStr("from LoaRoleOperateEntity h");
        setParam("h.operateId", "=", operateId);
        setParam("h.roleId", "=", roleId);
        return this;
    }

	public Long getOperateId() {
		return operateId;
	}

	public void setOperateId(Long operateId) {
		this.operateId = operateId;
	}

	public Long getRoleId() {
		return roleId;
	}

	public void setRoleId(Long roleId) {
		this.roleId = roleId;
	}
}
